import java.util.Scanner;
public class demo7 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("Known list{19, 28, 37, 46, 50}");
        System.out.println("Please enter a data for the list:");
        int x = sc.nextInt();
        find(x);
    }
    public static void find(int x){
        int[] arr = {19, 28, 37, 46, 50};
        for(int i = 0;i < 5;i++){
            if(arr[i] == x){
                System.out.println(x + "index value is:" + i);
            }
        }
    }
}
